package com.qimu.saiyou.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.yulichang.base.MPJBaseService;
import com.qimu.saiyou.model.dto.exampaper.ExamPaperAddRequest;
import com.qimu.saiyou.model.dto.exampaper.ExamPaperQueryRequest;
import com.qimu.saiyou.model.dto.exampaper.ExamPaperUpdateRequest;
import com.qimu.saiyou.model.entity.ExamPaper;

/**
* @author: FeiXiang
* @description 针对表【exam_paper(试卷)】的数据库操作Service
* @createDate 2024-02-28 20:36:14
*/
public interface ExamPaperService extends MPJBaseService<ExamPaper> {

    void validExamPaper(ExamPaper examPaper, boolean add);

    long addExamPaper(ExamPaperAddRequest examPaper);

    boolean deleteExamPaper(long id);

    boolean updateExamPaper(ExamPaperUpdateRequest examPaper);

    QueryWrapper<ExamPaper> getQueryWrapper(ExamPaperQueryRequest examPaperQueryRequest);
}
